package com.yx1996.daoimpl;

import com.yx1996.dao.LinkManDao;
import com.yx1996.domain.LinkMan;
import com.yx1996.utils.HibernateUtils;
import org.hibernate.Session;

public class LinkManDaoImpl implements LinkManDao {

    @Override
    public void add(LinkMan linkMan) {
        Session session = HibernateUtils.getCurrentSession();
        session.save(linkMan);
    }
}
